package com.ksrm.factory;

import com.ksrm.dao.UserDao;
import com.ksrm.dao.impl.StaticFactoryImpl;
import com.ksrm.dao.impl.UserDaoImpl;

public class DynamicFaction {//工厂实例方法实例化
    public UserDao getUserDao(){
        return new StaticFactoryImpl();
    }
}
